#include "stdafx.h"
#include "Table.h"

namespace compile
{
	// ----------------------------------- public -----------------------------------

	Table::Table()
	{
	}


	Table::~Table()
	{
	}

	// --------------------------------- End public ---------------------------------------


	// --------------------------------- protected --------------------------------------

	bool Table::ifEndSign(char sign)
	{
		if (!(sign >= 'A' && sign <= 'Z'))
		{
			return true;
		}
		return false;
	}


	string Table::polyfillChar(char new_char)
	{
		char a[2];
		a[0] = new_char;
		a[1] = '\0';

		return a;
	}

	void Table::errorAndExit()
	{
		cout << "Fuck off error" << endl;
		system("pause");
		exit(EXIT_FAILURE);
	}
}
// ------------------------------- End protected ------------------------------------